Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ExitError specify invalid opcode #126

Merged
merged 8 commits into from
Jun 15, 2022

Conversation

tgmichel
Copy link
Contributor

Return the opcode as part of ExitError when an invalid opcode is found.

gasometer/src/lib.rs Outdated Show resolved Hide resolved
@tgmichel tgmichel requested a review from sorpaas June 14, 2022 15:15
core/src/error.rs Outdated Show resolved Hide resolved
@tgmichel tgmichel requested a review from sorpaas June 15, 2022 12:41
@sorpaas sorpaas merged commit 51b8c2c into rust-ethereum:master Jun 15, 2022
KaoImin pushed a commit to KaoImin/evm that referenced this pull request Jul 12, 2022
* `ExitError` specify invalid opcode

* Do not early return, propagate instead

* `InvalidCode(Opcode)`

* Use const

* Use constant

* clippy

* Revert "Use const"

This reverts commit 1c669ab.

* Add 0xef const
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants